﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace ShootThemUp
{
    public delegate void EventNameHandler(object sender, string e);

    public abstract class GameState
    {
        public event EventNameHandler MustChange;
        protected virtual void StateChange(string newValue)
        {
            MustChange(this, newValue);
        }
        public string prochainEtat = "Menu";
        public abstract void Initialize();
        public abstract void Load(ContentManager content);
        public abstract void Update(GameTime gameTime);
        public abstract void Draw(SpriteBatch sb, GameTime gameTime);
        public abstract void Unload();
        public abstract void Finalize();

    }
}
